package com.dyna.controller;

import com.dyna.bean.CommonsResult;
import com.alibaba.csp.sentinel.slots.block.BlockException;

public class CustomerBlockHandler
{
    public static CommonsResult handleException(BlockException exception){
        return new CommonsResult(2020,"自定义的限流处理信息......CustomerBlockHandler");
    }
    public static CommonsResult handleException2(BlockException exception){
        return new CommonsResult(2020,"自定义的限流处理信息......CustomerBlockHandler ----2");
    }

}